package com.shanzmoo.db.module.integral.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shanzmoo.db.common.entity.BaseTimeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 积分订单商品表
 * </p>
 *
 * @author fs
 * @since 2021-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("integral_order_goods")
public class IntegralOrderGoodsEntity extends BaseTimeEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * skuId
     */
    private Integer skuId;

    /**
     * 商品id
     */
    private Integer spuId;

    /**
     * 数量
     */
    private Integer nums;

    /**
     * 单价(分)
     */
    private Integer price;

    /**
     * 图片链接
     */
    private String imgUrl;

    /**
     * 名称
     */
    private String name;

    /**
     * 规格名
     */
    private String skuName;

    /**
     * 订单id
     */
    private Integer orderId;





}
